#!/bin/bash
cd /opt/gitee/oa_system
pwd
git reset --hard
git pull

cd /opt/gitee/oa_system

mvn clean compile
#让内部项目找到
mvn install
mvn package

cp /opt/gitee/oa_system/target/oasys.jar  /opt/gitee/oa_system/oasys.jar